For exampleecho "Hi Reboot" | Figlet________ _| || (_) |_\___||_______ _||_||_|||||_) /_\ ' _\/ _\/_\|__| | _|||_This article is from the "Reboot DevOps Development" blog, please be sure to keep this source http://opsdev.blog.51cto.com/2180875/1560521Linux character painting Figlet
will prompt us to provide a string through standard input. Then we can see the output at the same time after each line.
For example, enter "mylinuxbook" and press enter.
Mylinuxbook
Koobxunilym
$ Cat strings.txt
MyLinuxBook
Linux is so much fun!
Happy Birthday
$ Rev strings.txt
KooBxuniLyM
! Nuf hcum OS si xuniL
YadhtriB Yppa
3. fortune command
When we run this command, we randomly find a proverb or message.
First install it: $ sudo apt-get install fortune
Run this command: $ fortune
You ha
like a fortune teller.5. Linux "figlet" commandThis command will display the input string in uppercase In the title bar. The display effect consists of ASCII characters.Because it is not a standard setting, you must first install this function. $ Sudo apt-get install figlet it is really interesting to see the string become so on the terminal. $ Figlet mylinuxboo
Strings.txtmylinuxbooklinux isSo much fun!Happy birthday$ Rev Strings.txtkoobxunilym!nuf hcum os si xunilyadhtrib yppah4. Linux"Fortune"The command Fortune command is used as a fortune cookie on the same command line. When we run this command, we randomly find a proverb or a message. The first thing to do is to install it $sudo apt-Getinstall fortune After the installation is complete, we run this command in the following way: $ fortuneyou has the power to influence all with whom you comeinchCo
Working at the terminal is a very interesting thing. Today, we'll list some interesting Linux commands that will bring you laughter.1. RevCreate a file, enter a few words into the file, and Rev command will reverse the output of what you wrote to the console.
# rev file name>
selection_002selection_0012. FortuneThis command is not installed by default, it is installed with the Apt-get command, and the Fortune command randomly displays some sentences
[emailprotected]-System
have the power to influence all with whom your come in contact.
So, depending on this command, Linux can be like a fortune-teller.
5. Linux "Figlet" command
This command will be capitalized to display the string we entered in the title bar, and the display effect is made up of ASCII characters.
Because it is not a standard setting, this feature should be installed first.
$sudo Apt-get Install Figlet
command prompt, you can use "Ctrl + C".We see the inverted string appearing directly on the next line. We can then enter the next string we want to invert, and then press ENTER to get the standard output.$ revgoogleelgooglinux is funnuf si xunil^c$This line of command can also be entered as a file, which reverses all the strings in the file and then formats the output as standard output.$ cat Strings.txtmylinuxbooklinux is so much fun! Happy birthday$ rev strings.txtkoobxunilym!nuf hcum os si x
$cowsay-F Tux "pit Daddy."You can also let Cowsay say the content of fortune, just like this:$fortune | Cowsay4. Cmatrix commandThis is cool! The Matrix-style animation effect of "The Hacker Empire"Install the sudo apt-get install CmatrixRun $cmatrix5. Figlet, Toilet commandThe WordArt generator, which consists of ASCII characters, displays the text as a title bar. Besides, there's the banner command.Installing the $sudo apt-get install
experimental points, there are many articles in the details, and may even need to find their own data development.The article is a little rush, plus the course has not been completed, only a hasty end. Finally attached to the completion of a few homework reports, or because of the reason for the time of submission, failed to complete all the work, to the teacher said sorry. I will be back after the completion of the!Welcome to crossing comments. Improper content is welcome to the teacher and ev
!"
Cowsay file absolute path for/usr/share/cowsay/cows, which has a variety of wonderful documents. 5,figlet
Use a sign to put together a word and blind your eyes.
$sudo Apt-get Install Figlet$figlet I Love You6,oneko
A small animal, such as a puppy and a kitten, will run around with your mouse.$sudo Apt-get Install Oneko$oneko7,aafire
$sudo Apt-get Install Liba
recently looked at the list of tests, and a lot of people had higher scores than I did when they were less than me. This is to give me the next Linux learning to wake up-not only focus on the experimental points, there are many details of the article, and may even need to go to their own research and development of information, and also, when learning to think more, a lot of advice, and I hope you can help me a lot!Finally, I enclose the reports of several assignments that have been completed,
The code is as follows:
Display text in large ASCII art fontsDisplay large ASCII art fonts
This is useful when the source declaration or software initialization console is printed.
For example:
This is to look at the HTML source, and see the name of the site of this font, very cool, the following describes how to output this character word in Python.
The code is as follows:
$ sudo apt-get install Figlet$ Figlet
Tips for outputting ASCII big text, artistic words, and character characters in Python
This article mainly introduces how to output ASCII big text, artistic words, and character tips in Python. This article first gives the image effects of ASCII big text, artistic words, and character words, then, the implementation method in Python is provided. For more information, see
The Code is as follows:
Display text in large ASCII art fonts
Display the big ASCII art font
This type of things is useful in
Like this:
Like this:
Reply content:
Like this:
Banner generator online
Text to ASCII Art Generator
Search for it.
This is the Banner string in Linux.Example:figletInUbuntuBelow:
sudo apt-get install figlet
Enter the text you want.
figlet Hello
Surprise now!
_._ _.-``__ ''-._
--fstype= "Ext4"--size=200Part swap--fstype= "swap"--size=1024%packages@base@chinese-support%end9, modify the/var/lib/tftpboot/pxelinux.cfg/defaultThe first line should read: Default LinuxLabel LinuxMenu label ^install or upgrade an existing systemMenu defaultKernel VmlinuzAppend initrd=initrd.img ks=ftp://192.168.0.211/pub/ks.cfg10, determined that all services are started, re-create a virtual machine for testing, boot from the network card, the network card will be automatically found.650) thi
] [A-z]
{String1,string2,...}
Match string1 or string2 (or more) one string
{C1.. C2}
Match all characters in c1-c2 such as {1..10}
Create Find File operations
$ touch adsfasd.txt wergjlkas.txt
$ ls *.txt
Create multiple files at once
$ touch love_{1..10}_linux.txt
4.banner Command Practice
Banner can output graphic characters.
Use the following command to install the fir
This article mainly introduces the output in Python large ASCII text, WordArt, character tips, this article first gives the large ASCII text, WordArt, character characters of the image effect, and then give the implementation of Python, the need for friends can refer to the
The code is as follows:
Display text in large ASCII art fonts
Show large ASCII art fonts
This kind of thing is useful when the source code declaration or the SOFTWARE initializes the console to print.
For example, the fo
characters*: Match 0 or more characters?: matches any one character[list]: matches any single character in the list[!list]: Matches characters other than any single character in the list[c1-c2]: Match any single word in c1-c2 such as: [0-9] [A-z]{string1,string2,...}: Match string1 or string2 (or more) one string{c1..c2}: Match all characters in c1-c2 such as {1..10}
Homework
Output graphic text using the banner command
Output graphic text using the Printerbanner command (wh
working at the terminal is a very interesting thing. Today, we'll list some interesting Linux commands that will bring you laughter. 1. RevCreate a file, enter a few words into the file, and Rev command will reverse the output of what you wrote to the console.
selection_002 selection_001 2. FortuneThis command is not installed by default, it is installed with the Apt-get command, and the Fortune command randomly displays some sentences
Copy Code code as follows:
Display text in large ASCII art fonts
Show large ASCII art fonts
This kind of thing is useful when the source code declaration or the SOFTWARE initializes the console to print.
For example, the following figure:
Here is a screenshot of the HTML source, see the name of the Web site, very cool, and here's how to output this character in Python.
Copy Code code as follows:
$ sudo apt-get install Fig
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.